package com.cxx.home.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cxx.framework.data.AbstractEntity;
import com.cxx.framework.data.AbstractIdEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("task")
public class Task extends AbstractIdEntity {
    @TableField("type")
    private String type;

    @TableField("content")
    private String content;

    @TableField("execute_time")
    private Date executeTime;

    @TableField("cron_expression")
    private String cronExpression;
}
